Simple_Giveaways\SG_Extra_Action D

Total Complexity 166
Dependencies 1
Dependents 1
Total lines 1,211
Lines of code 672
Logical lines of code 369
Comment lines 358
Methods 50
Properties 21

Methods 50

Method Rating Maintainability Complexity Lines of code
render_field()
D
28
29 132
complete()
A
42 13 47
form_public()
A
39 10 76
validate_admin_data()
A
51 13 23
form_admin()
A
43 10 50
validate()
A
46 8 36
create_action()
A
48 8 31
is_action_instance_valid()
S
56 6 19
get_fields()
S
49 4 34
set_admin_data_from_giveaway()
S
60 5 14
get_action_from_db()
S
59 4 14
is_completed()
S
61 4 12
get_data()
S
62 4 12
update_status()
S
53 3 25
can_complete()
S
65 4 8
action_attributes()
S
63 3 10
prepare_value_for_entries_table()
S
69 2 7
get_action_attributes()
S
64 2 9
get_mandatory()
S
74 2 4
set_admin_data()
S
74 2 4
get_locked()
S
82 1 3
get_description()
S
82 1 3
set_entries()
S
81 1 3
set_title()
S
81 1 3
get_value_for_entries_table()
S
82 1 3
get_subscriber_id()
S
82 1 3
set_instance_id()
S
81 1 3
set_giveaway_id()
S
81 1 3
get_admin_data()
S
65 1 10
set_subscriber_id()
S
80 1 3
get_category()
S
82 1 3
reload_html()
S
82 1 3
get_title()
S
82 1 3
needs_validation()
S
82 1 3
action_button()
S
69 1 8
form_public_content()
S
98 1 1
action_entries()
S
71 1 5
complete_mark()
S
75 1 4
validate_action()
S
82 1 3
complete_action()
S
82 1 3
has_action_button()
S
82 1 3
get_giveaway_id()
S
82 1 3
is_internal_only()
S
82 1 3
is_locked()
S
80 1 3
get_action_entries()
S
79 1 3
get_admin_form()
S
74 1 5
get_icon()
S
79 1 3
get_slug()
S
82 1 3
get_instance_id()
S
82 1 3
set_locked()
S
81 1 3